import request from '@/utils/request'

/////////////////////////
export function bookPage(query) {
  return request({
    url: '/bookinfo/page',
    method: 'get',
    params:query
  })
}
export function book_save(obj){
  return request({
    url:'/bookinfo/submit',
    method:"post",
    data:obj
  });
}

export function book_remove(obj){
  return request({
    url:'/bookinfo/remove',
    method:'post',
    data:obj
  });
}






///////////////////////////////
export function studPage(query) {
  return request({
    url: '/studinfo/page',
    method: 'get',
    params:query
  })
}
export function stud_save(obj){
  return request({
    url:'/studinfo/submit',
    method:"post",
    data:obj
  });
}

export function stud_remove(obj){
  return request({
    url:'/studinfo/remove',
    method:'post',
    data:obj
  });
}














///////////////////
export function bookbroPage(query) {
  return request({
    url: '/bookbro/page',
    method: 'get',
    params:query
  })
}
export function bookbro_save(obj){
  return request({
    url:'/bookbro/submit',
    method:"post",
    data:obj
  });
}

export function bookbro_remove(obj){
  return request({
    url:'/bookbro/remove',
    method:'post',
    data:obj
  });
}

